package demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
public class JavaApplication {

    public static void main(String[] args) {
        try {
            System.out.println("Start Application..........");
            SpringApplication.run(JavaApplication.class, args);
        } catch (Throwable e) {
            e.printStackTrace();
            System.out.println("Fail to start!!!!!!!!!!!!");
        }
    }

}